package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.UserCategory;
import com.jsh.erp.datasource.entities.UserCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserCategoryMapper {
    long countByExample(UserCategoryExample example);

    int deleteByExample(UserCategoryExample example);

    int deleteByPrimaryKey(String id);

    int insert(UserCategory record);

    int insertSelective(UserCategory record);

    List<UserCategory> selectByExample(UserCategoryExample example);

    UserCategory selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") UserCategory record, @Param("example") UserCategoryExample example);

    int updateByExample(@Param("record") UserCategory record, @Param("example") UserCategoryExample example);

    int updateByPrimaryKeySelective(UserCategory record);

    int updateByPrimaryKey(UserCategory record);
}